package com.rear.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.rear.dao.TestTab1Dao;
import com.rear.entity.TestTab1Entity;
import com.rear.service.TestTab1Service;



@Service("testTab1Service")
public class TestTab1ServiceImpl implements TestTab1Service {
	@Autowired
	private TestTab1Dao testTab1Dao;
	
	@Override
	public TestTab1Entity queryObject(Integer id){
		return testTab1Dao.queryObject(id);
	}
	
	@Override
	public List<TestTab1Entity> queryList(Map<String, Object> map){
		return testTab1Dao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return testTab1Dao.queryTotal(map);
	}
	
	@Override
	public void save(TestTab1Entity testTab1){
		testTab1Dao.save(testTab1);
	}
	
	@Override
	public void update(TestTab1Entity testTab1){
		testTab1Dao.update(testTab1);
	}
	
	@Override
	public void delete(Integer id){
		testTab1Dao.delete(id);
	}
	
	@Override
	public void deleteBatch(Integer[] ids){
		testTab1Dao.deleteBatch(ids);
	}
	
}
